package behavioralPattern.templateMethod.example02;

import java.math.BigDecimal;

public class LoanSevenDays extends AbstractAccount{
    @Override
    BigDecimal calculate() {
        System.out.println("借款周期7天，无利息；仅收取服务费");
        return new BigDecimal(0);
    }

    @Override
    public void display(BigDecimal amount) {
        System.out.println("七日内借款无利息");
    }
}
